package com.ylyq.ylxx.model.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.web.multipart.MultipartFile;

/**
 * @ClassName UploadFileVideoRequest
 * @Description TODO
 * @Author xiaweichao
 * @Date 2020/7/22 14:39
 * @Version 1.0
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
@ApiModel(value = "上传视频素材的请求参数")
public class UploadFileVideoRequest {
    @ApiModelProperty(value = "广告主ID",required = true)
    private Long advertiser_id;
    @ApiModelProperty(value = "视频的md5值(用于服务端校验)",required = true)
    private String video_signature;
    @ApiModelProperty(value = "素材的文件名，可自定义素材名，不传择默认取文件名，最长255个字符\n" +
            "注：若同一素材已进行上传，重新上传不会改名")
    private String filename;
    @ApiModelProperty(value = "视频文件,格式mp4、mpeg、3gp、avi（10s超时限制）",required = true)
    private MultipartFile video_file;
}
